﻿<!--//=============================================================
    // Copyright (C) 2015 福流网络
    // 作 者：钟星星
    // 日 期：2016-03-20
    // 描 述:  客户报检
    // 版 本：1.00
    // 修改历史纪录
    // 版 本  修改时间      修改人            修改内容
    //=============================================================-->

<div id="QueryItem">
        <div>
            <div class="col1" id="query_item_inspect_type_cd">
                <table class="query_table">
                    <tr>
                        <td class="label">类型</td>
                        <td class="exp">
                            <select>
                                <option value="like">包含</option>
                                <option value="=">等于</option>
                                <option value=" not like">不包含</option>
                                <option value="<>">不等于</option>
                            </select>
                        </td>
                        <td>
                            <div id="inspect_type_cd" name="inspect_type_cd" class="mini-autocomplete" style="width:100%;float: left;" popupwidth="400" textfield="name" valuefield="value" valuefromselect="true" oncloseclick="onCloseClick" pinyinfield="name"
                                 showclose="true" url="../../../Share/GetJsonList?tablename=v_data_base_dictionary_detail&fieldnames=name,value&where=code='bg_shangjianshujuleixing'&searchField=name,value" value="" text="">
                                <div property="columns">
                                    <div header="编号" field="value"></div>
                                    <div header="简称" field="name"></div>
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
            
            <div class="col1" id="query_item_customer_name">
                <table class="query_table">
                    <tr>
                        <td class="label">客户</td>
                        <td class="exp">
                            <select>
                                <option value="like">包含</option>
                                <option value="=">等于</option>
                                <option value=" not like">不包含</option>
                                <option value="<>">不等于</option>
                            </select>
                        </td>
                        <td>
                            <div id="autcustomer_name" name="customer_name" class="mini-autocomplete" style="width:100%;float: left;" popupwidth="400" allowinput="true" textfield="short" valuefield="short"
                                 showclose="true" valuefromselect="true" url="../../../Share/GetJsonList?tablename=t_base_objs&fieldnames=id,zucode,short&where=zclass_id=100 and stop_yn=0&searchField=short,zucode" oncloseclick="onCloseClick">
                                <div property="columns">
                                    <div header="id" field="id" width="0"></div>
                                    <div header="编号" field="zucode"></div>
                                    <div header="简称" field="short"></div>
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
            
            <div class="col1" id="query_item_check_no"><table class="query_table"><tr><td class="label">通关单号</td><td class="exp"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="check_no" class="mini-textbox" style="width:100%;" data="check_no_data" /></td></tr></table></div>


            <div class="col1" id="query_item_shipper_no">
                <table class="query_table">
                    <tr>
                        <td class="label">经营单位</td>
                        <td class="exp">
                            <select>
                                <option value="like">包含</option>
                                <option value="=">等于</option>
                                <option value=" not like">不包含</option>
                                <option value="<>">不等于</option>
                            </select>
                        </td>
                        <td>
                            <div id="autshipper_no" name="shipper_no" class="mini-autocomplete" style="width: 100%; float: left" popupwidth="400" allowinput="true" pinyinfield="znamec" textfield="znamec" valuefield="zucode"
                                 showclose="true" valuefromselect="true" url="../../../Share/GetJsonList?tablename=t_base_companies&fieldnames=id,zucode,znamec,com_iden,exp_dt&where=&searchField=zucode,znamec" oncloseclick="onCloseClick">
                                <div property="columns">
                                    <div header="编号" field="zucode"></div>
                                    <div header="简称" field="znamec"></div>
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
            
            
            <div class="col1" id="query_item_org_id">
                <table class="query_table">
                    <tr>
                        <td class="label">报关组</td>
                        <td class="exp" style="display: none">
                            <select>
                                <option value="=">等于</option>
                                <option value=" not like">不包含</option>
                                <option value="<>">不等于</option>
                            </select>
                        </td>
                        <td>
                            <input id="org_id" name="org_id" isexpandednode="true" shownullitem="true" multiselect="true" popupwidth="200" popupmaxheight="400" showfoldercheckbox="true" expandonload="true" selectonfocus="true"
                                   checkrecursive="true" style="width:100%;" class="mini-treeselect" url="/extendpage/action/dataaction.aspx?action=dept&paraCondtion=isbussiness_dept=1&functionid=93de9757-a95e-49cd-9b70-a827d1484868"
                                   textfield="name" valuefield="id" parentfield="parent_id" />
                        </td>
                    </tr>
                </table>
            </div>
            
            


            
            <div class="col1" id="query_item_port_name">
                <table class="query_table">
                    <tr>
                        <td class="label">口出口岸</td>
                        <td class="exp">
                            <select>
                                <option value="like">包含</option>
                                <option value="=">等于</option>
                                <option value=" not like">不包含</option>
                                <option value="<>">不等于</option>
                            </select>
                        </td>
                        <td>
                            <div id="autport_name" name="port_name" class="mini-autocomplete" style="width:100%;float: left;" popupwidth="250" textfield="name" valuefield="name" valuefromselect="true" oncloseclick="onCloseClick" pinyinfield="name"
                                 showclose="true" url="../../../Share/GetJsonList?tablename=v_data_base_dictionary_detail&fieldnames=value,name&where=code='bg_shenbaokouan'&searchField=name,value" value="" text="">
                                <div property="columns">
                                    <div header="编号" field="value"></div>
                                    <div header="简称" field="name"></div>
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
            
            <div class="col1" id="query_item_wharf_name">
                <table class="query_table">
                    <tr>
                        <td class="label">码头</td>
                        <td class="exp">
                            <select>
                                <option value="like">包含</option>
                                <option value="=">等于</option>
                                <option value=" not like">不包含</option>
                                <option value="<>">不等于</option>
                            </select>
                        </td>
                        <td>
                            <div id="autwharf_id" name="wharf_id" class="mini-combobox" style="width:100%;" multiselect="true" popupwidth="200" allowinput="true" textfield="znamec" valuefield="id" value="0" showclose="true"
                                 showclose="true" valuefromselect="true" url="../../../Share/GetJsonList?tablename=t_base_objs&fieldnames=id,zucode,znamec&where=zclass_id=300&searchField=znamec,zucode" oncloseclick="onCloseClick">
                                <div property="columns">
                                    <div header="编号" field="zucode"></div>
                                    <div header="简称" field="znamec"></div>
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
            
            <div class="col1" id="query_item_checkStatus">
                <table class="query_table">
                    <tr>
                        <td class="label">审核状态</td>
                        <td class="exp">
                            <select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select>
                        </td>
                        <td>
                            <select style="width:100%; margin-left: 4px;" id="checkStatus" name="checkStatus" class="mini-combobox">
                                <option value=""></option>
                                <option value="未审核">未审核</option>
                                <option value="已审核">已审核</option>
                            </select>

                        </td>
                    </tr>
                </table>
            </div>


            <div class="col2" id="query_item_inspect_dt"><table class="query_table"><tr><td class="label">商检时间</td><td class="exp"><select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select></td><td><input name="time" class="mini-datepicker" style="width:100%;" data="inspect_dt_data" /></td><td><input name="inspect_dt_1" class="mini-datepicker" style="width:100%;" data="inspect_dt_data" /></td></tr></table></div>
            <div class="col2" id="query_item_create_dt"><table class="query_table"><tr><td class="label">创建时间</td><td class="exp"><select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select></td><td><input name="time" class="mini-datepicker" style="width:100%;" data="create_dt_data" /></td><td><input name="create_dt_1" class="mini-datepicker" style="width:100%;" data="create_dt_data" /></td></tr></table></div>
            
            <div class="col1" id="query_item_transport_name">
                <table class="query_table">
                    <tr>
                        <td class="label">所属部门</td>
                        <td class="exp" style="display: none">
                            <select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select>
                        </td>
                        <td>
                            <select style="width:100%; margin-left: 4px;" name="transport_name" multiselect="true" class="mini-combobox">
                                <option value=""></option>
                                <option value="海运部">海运部</option>
                                <option value="陆运部">陆运部</option>
                                <option value="空运部">空运部</option>
                            </select>

                        </td>
                    </tr>
                </table>
            </div>

            <div class="col2" id="query_item_check_dt"><table class="query_table"><tr><td class="label">对碰时间</td><td class="exp"><select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select></td><td><input name="time" class="mini-datepicker" style="width:100%;" data="check_dt_data" /></td><td><input name="check_dt_1" class="mini-datepicker" style="width:100%;" data="check_dt_data" /></td></tr></table></div>
        </div>

</div>



<script type="text/javascript">

    function onCloseClick(e) {
        var obj = e.sender;
        obj.setText("");
        obj.setValue("");
    }

</script>




